package strategy;

/**
 * @ClassName Context
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/7/20 17:18
 * @Version 1.0
 */
public class Context {
	private Strategy strategy;

	public Context(Strategy strategy) {
		this.strategy = strategy;
	}

	public Integer execute(Integer i, Integer j) {
		return strategy.operation(i, j);
	}
}
